import request from '@/utils/request'
import { useUserStore } from '@/stores'

// 获取用户聊天记录
export const getMessageList = (fromId,toId) => 
  request.get('/messages/list/?fromId='+fromId+'&toId='+toId)